import java.util.Scanner;
import java.util.Random;
public class moles {
	public static void main(String[] args){
		int lngth;
		Random rand=new Random();
		Scanner input=new Scanner(System.in);
		System.out.println("What is the length of the sequence you would like sorted?");
		lngth=input.nextInt();
		String[] ary=new String[lngth];
		for (int i=0;i<lngth;i++){
			int sel=rand.nextInt(7);
			ary[i]=select(sel);
		}
		Sorter sorter = new Sorter();
		sorter.sort(ary,lngth);
		
	}
	static String select(int random){
		if (random==0){
			return "red";
		}
		else if (random==1){
			return "orange";
		}
		else if (random==2){
			return "yellow";
		}
		else if (random==3){
			return "green";
		}
		else if (random==4){
			return "blue";
		}
		else if (random==5){
			return "indigo";
		}
		else if (random==6){
			return "violet";
		}
		else{
			return "white";
		}
	}
}
